<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="keywords" content="职业社交、社交网站、商务社交、职场、职场精英、白领、金领、高端人才、精英人士、企业高管" />
		<meta name="description" content="红桃网是一个通过创新技术把职场精英汇聚到职业社交平台上，提升他们的职业价值与工作效率。开始主要以IT互联网、房地产、金融行业为主，并逐步覆盖其他行业。 " />
		<meta name="company" content="深圳埃斯欧纳人力资源有限公司,Aceona.com" />
		<meta name="robots" content="index,follow" />
		<meta content="红桃网,aceona，Aceona.com" name="author" />
		<meta content="本页版权归Aceona所有。All Rights Reserved" name="copyright" />
		<meta property="wb:webmaster" content="9a944574dde0d325" />
		<title>我收藏的专辑 - kimoji</title>
		<link rel="stylesheet" type="text/css" href="${fileServer}/css/base.css" />
		<script type="text/javascript" src="${fileServer}/js/base.min.js"></script>
		<script type="text/javascript" src="${fileServer}/js/mod_waterwall.js"></script>

	</head>
	<body>
		<div id="containor">
			<#include "banner.ftl">

			<div id="wrappper" class="mod_wrapper" data-promise="true" rel="widget-top" data-need-top="true">
				<div id="main" class="mod_main">
					<div class="">
						<div class="mod_waterwall" id="J_water_main">
							<#assign tag="mycollect"/>
							<#include "personalbox.ftl">
						</div>
					</div>
				</div>
			</div>
			<!-- 加载条 -->
			<div class="mod_loading" id="J_loading_now">
				<img src="http://static.aceona.com/V3/assets/img/loader_medium.gif" alt="正在加载中" class="m_r__12" />
				正在加载中......
			</div>
			<input type="hidden" name="J_mainnav" id="J_mainnav" value="J_main_home" />
			<input type="hidden" name="J_message" id="J_message" value="J_message_a" />
			<input type="hidden" id="articleTopClass" value="3" />

			<script type="text/javascript">
			var fileServer = "${fileServer}";
	$(function() {

		var intervalTime = window.setInterval(function() {
			$.getJSON("/my/attentionuserbytime", function(data) {
				if (data.success) {
					if (data.resultCount) {
						$("#header .alert-box").show();
						var $_alerts = $("#header").find(".alert");
						var totleCount = parseInt($_alerts.find(".a_yellow")
								.attr("count"))
								+ data.resultCount;
						if (totleCount >= 100) {
							totleCount = "100+";
							clearInterval(intervalTime);
						}
						$_alerts.find(".a_yellow").text(
								"新增" + totleCount + "条信息");
						$_alerts.find(".a_yellow").attr("count", totleCount);
						$_alerts.animate({
							top : 0,
							opactiy : 1,
							display : "block"
						}, "normal");
						$_alerts.find(".a_yellow").on("click", function() {
							window.location.reload();
						});
					}
				}
			});
		}, 5 * 60 * 1000);

		var selector = ".water";
		if (3 != 3) {
			selector = ".act_water";
		}

		var firstMasonry = new Mod_masonry({
			containor : "#J_water_main",
			path : [ "/mycollect/show/", "/" ],
			firstQuery : true,
			itemSelector : selector,
			dataType : "album",
			state : {
				currNum : 1
			}
		});
		firstMasonry.setMasonry();
		firstMasonry.init();

		$(document)
				.on(
						"click.editarticle",
						"#J_edit_btn",
						function() {
							Ace.denyButton(this);
							if ($("#J_upload_photo").val().length == 0) {
								// 图片未选择时，取未改变前的值
								$("#J_upload_photo").val(
										$("#J_modify_img").val());
							}

							if ($.trim($("#J_articleTitle").val()).length == 0
									|| $("#J_articleTitle").val() == '请输入分享标题，不超过50个中文字符！') {
								jAlert("请输入标题！", "温馨提示");
								return false;
							} else if (!$.trim($("#J_articleTitle").val())
									.AceSpecialCharacter()) {
								return false;
							} else if ($.trim($("#J_articleTitle").val()).length > 50) {
								jAlert("分享标题不能超过50个中文字符！", "温馨提示");
								return false;
							} else if ($("#J_articleContent").val().length == 0
									|| $("#J_articleContent").val() == '请输入分享内容，不超过5000个中文字符！') {
								jAlert("请输入分享内容！", "温馨提示");
								return false;
							} else if ($("#J_articleContent").val()
									.getStringLength() / 2 > 5000) {
								jAlert("分享内容不能超过5000个中文字符（10000个英文字符）！", "温馨提示");
								return false;
							}
							if ($("#J_articleTopClass").val() == 2) {
								var date1 = $("#J_articleShowStarttime").val()
										.split("-");
								var date2 = $("#J_articleShowEndtime").val()
										.split("-");
								var tDate1 = new Date(date1[0], date1[1],
										date1[2]);
								var tDate2 = new Date(date2[0], date2[1],
										date2[2]);
								if (tDate2 < tDate1
										&& $("#J_articleTopClass").val() == 2) {
									jAlert("活动结束时间不能早于开始时间！", "温馨提示");
									return false;
								}
							}

							$
									.post(
											"/my/editRelease",
											{
												articleId : $("#J_articleId")
														.val(),
												articleTopClass : $(
														"#J_articleTopClass")
														.val(),
												articleCover : $(
														"#J_upload_photo")
														.val(),
												articleCoverWeight : $(
														"#J_upload_photo_width")
														.val(),
												articleCoverHeight : $(
														"#J_upload_photo_height")
														.val(),
												articleClass : $(
														"#J_articleClass")
														.val(),
												articleTitle : $(
														"#J_articleTitle")
														.val(),
												articleContent : $(
														"#J_articleContent")
														.val(),
												articleIsHidden : $(
														"#J_articleIsHidden")
														.val(),
												articleShowStarttimeStr : $(
														"#J_articleShowStarttime")
														.val(),
												articleShowEndtimeStr : $(
														"#J_articleShowEndtime")
														.val(),
												articleForbidden : $(
														"#J_articleForbidden")
														.val()
											},
											function(data) {
												if (data != null
														&& data.message == 'true') {
													var article_id = $(
															"#J_hash_articleId")
															.val();
													var upload_release_img = $(
															"#J_upload_release_photo")
															.attr("src");
													var article_title = $(
															"#J_articleTitle")
															.val();
													var defaultWidth = $(
															"#J_upload_photo_width")
															.val();
													var defaultHeight = $(
															"#J_upload_photo_height")
															.val();
													var baseWidth, baseHeight;

													if (defaultWidth < 230) {
														baseWidth = defaultWidth;
														baseHeight = defaultHeight;
													} else {
														baseHeight = Math
																.round((230 / defaultWidth)
																		* defaultHeight);
													}
													if (baseHeight >= 750) {
														baseHeight = "100%";
													}
													// 更新当前窗口中的数值
													$(
															"#I_article_img_"
																	+ article_id)
															.attr(
																	{
																		"src" : upload_release_img,
																		"width" : baseWidth,
																		"height" : baseHeight
																	});

													$(
															"#I_article_title_"
																	+ article_id)
															.html(article_title);

													// 关闭当前弹出框
													var dialogObj = $(
															"#mod_dialog_edit_release")
															.data('modal');
													dialogObj.hide();

													$("#J_water_main").masonry(
															"reload");

													jAlert('编辑成功！', "温馨提示");
													if ($("#article_mobile_"
															+ article_id)[0] != null) {
														// 如果有移动按钮 则隐藏移动按钮
														$(
																"#article_mobile_"
																		+ article_id)
																.hide();
													}
												} else {
													jAlert(
															'编辑失败！失败原因：系统忙！请稍后再试！',
															"温馨提示");
												}

											}, "json");
						});

	});

	// 移动专辑公共方法
	function mobid_Articles_Child(obj, type) {
		var typestr = '专辑';
		if (type == 2) {
			typestr = '活动';
		}

		if ($('input:radio[name=radio_article]:checked').size() < 1) {
			jAlert('请选择要加入的' + typestr + '！');
			return false;
		}

		// 父文章ID
		var parent_article_id = $('input:radio[name=radio_article]:checked')
				.val()

		// 子文章ID
		var special_child_article_id = $(obj).attr("article-id");

		var url = '/my/article_mobile/' + parent_article_id + '/'
				+ special_child_article_id + '/' + type + '/';

		$.ajax({
			url : url,
			type : "POST",
			dataType : 'json',
			success : function(data) {
				if (data != null && data.success == 'true') {
					jAlert('操作成功！', "温馨提示");
				} else {
					jAlert('操作失败！失败原因：该图片已经参与其它专辑或活动！', "温馨提示");
				}
				$("#article_mobile_" + special_child_article_id).hide();
				$('#mod_dialog_move').modal('hide');
			}
		});
	}
</script>
			<div class="mod_footer" id="J_friend_content">
				<div class="inbox clearfix">
					<p class="copyright l">
						Copyright ©2013 Aceona.com Inc. All Rights Reserved.
						<a target="_blank" title="粤ICP备13000169号-1" href="http://www.miitbeian.gov.cn/" class="m_l_4" rel="nofollow">粤ICP备13000169号-1</a>
					</p>
					<a class="logo-gongshang" href="https://cert.ebs.gov.cn/c9c5dc2a-09c4-493b-8aa8-97ede195024a" target="_blank">工商网监</a>
					<div class="footer_nav r">
						<a href="/help/aboutus" target="_blank" title="关于Aceona">关于我们</a>
						<span>|</span>
						<a href="http://e.weibo.com/aceonacn" target="_blank" title="关注新浪微博" rel="nofollow">官方微博</a>
						<span>|</span>
						<a href="http://e.aceona.com/" title="企业入口" target="_blank" rel="nofollow">企业入口</a>
						<span>|</span>
						<a id="flink" title="友情链接" href="javascript:void(0);">友情链接</a>
					</div>
					<ul class="footer_card_list">
						<li>
							<a href="http://www.miitbeian.gov.cn/" class="icon_icp" title="粤ICP备13000169号-1" target="_blank"></a>
						</li>
						<li>
							<a href="http://www.ebs.gov.cn/EntCertificate.aspx?domainId=C9C5DC2A-09C4-493B-8AA8-97EDE195024A" class="icon_gz" title="工商网监" target="_blank" rel="nofollow"></a>
						</li>
					</ul>
				</div>
			</div>

			<!--friendlylink start-->
			<div id="friendlyLink" class="friendly_link hidden">
				<div class="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<em class="sprite l"></em>
							</td>
							<td width="100%">
								<div class="itembody"></div>
							</td>
							<td>
								<em class="sprite r"></em>
							</td>
						</tr>
					</table>
				</div>
				<div class="center">
					<div class="sprite nail"></div>
					<div class="content c">
						<a href="http://www.monsterbees.com" target="_blank" title="万事必应">万事必应</a>
						<a href="http://www.hns365.com" target="_blank" title="海南人才热线">海南人才热线</a>
						<a href="http://www.hns365.com" target="_blank" title="海南人才网">海南人才网</a>
						<a href="http://www.aceona.com/about/yq_link.jsp" target="_blank" title="申请红桃网友链">申请红桃网友链</a>
						<a href="http://www.aceona.com/nc/" target="_blank" title="名企达人">名企达人</a>
						<a href="http://www.aceona.com/polo_club/index.jsp" target="_blank" title="马球俱乐部">马球俱乐部</a>
						<a href="http://www.aceona.com/company/index.shtml" target="_blank" title="企业名录">企业名录</a>
						<a href="http://www.aceona.com/z/" target="_blank" title="红桃网智库">红桃网智库</a>
						<a href="http://123.duba.net" target="_blank" title="金山网址导航">金山网址导航</a>
						<a href="http://ask.zol.com.cn" target="_blank" title="ZOL问答">ZOL问答</a>
						<a href="http://www.chachaba.com" target="_blank" title="深圳地图">深圳地图</a>
						<a href="http://www.eguan.cn/" target="_blank" title="易观网">易观网</a>
						<a href="http://www.hrloo.com" target="_blank" title="三茅人力资源网">三茅人力资源网</a>
						<a href="http://sz.focus.cn" target="_blank" title="深圳房地产">深圳房地产</a>
						<a href="http://guangzhou.liebiao.com" target="_blank" title="广州分类信息网">广州分类信息网</a>
						<a href="http://shenzhen.liebiao.com/" target="_blank" title="深圳列表网">深圳列表网</a>
						<a href="http://www.houxue.com" target="_blank" title="厚学网">厚学网</a>
						<a href="http://www.ev123.com" target="_blank" title="易维企业服务网">易维企业服务网</a>
						<a href="http://zbj.yesky.com/" target="_blank" title="天极知本家">天极知本家</a>
						<a href="http://www.szhuhang.com" target="_blank" title="互航科技">互航科技</a>
						<a href="http://yx.paojiao.cn" target="_blank" title="手机游戏">手机游戏</a>
						<a href="http://www.zhinei.com" target="_blank" title="职内开心网">职内开心网</a>
						<a href="http://q.aceona.com/list/Z/" target="_blank" title="文章标签大全">文章标签大全</a>
						<a href="http://www.lietou8.com/" target="_blank" title="猎头盟">猎头盟</a>
						<a href="http://www.hnquande.com" target="_blank" title="特训学校">特训学校</a>
					</div>
				</div>
				<div class="bottom">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<em class="sprite l"></em>
							</td>
							<td width="100%">
								<div class="itembody"></div>
							</td>
							<td>
								<em class="sprite r"></em>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<!--friendlylink end-->

		</div>
	</body>
</html>